import about from '../pages/about.vue'
import aboutResort from '../pages/aboutResort.vue'
import active from '../pages/active.vue'
import activeDetail from '../pages/activeDetail.vue'
import contact from '../pages/contact.vue'
import hotelDetail from '../pages/hotelDetail.vue'
import hotelList from '../pages/hotelList.vue'
import hotelProperty from '../pages/hotelProperty.vue'
import index from '../pages/index.vue'
import travelCustom from '../pages/travelCustom.vue'
import vip from '../pages/vip.vue'

var routes = [
    {
        path:'/',
        name: '首页',
        component: index
    },
    {
        path:'/about',
        name: '关于智富',
        component: about
    },
    {
        path:'/about/resort',
        name: '关于智富',
        component: aboutResort
    },
    {
        path:'/active',
        name: '活动游记',
        component: active
    },
    {
        path:'/active/detail/:id',
        name: '活动游记详情',
        component: activeDetail
    },
    {
        path:'/contact',
        name: '联系我们',
        component: contact
    },
    {
        path:'/hotel/detail/:id',
        name: '海外房产详情',
        component: hotelDetail,
        meta: { requiresAuth: false }
    },
    {
        path:'/hotel/list',
        name: '海外房产',
        component: hotelList,
        meta: { requiresAuth: false }
    },
    {
        path:'/hotel/property',
        name: '海外房产',
        component: hotelProperty
    },
    {
        path:'/travel/custom',
        name: '旅游定制',
        component: travelCustom
    },
    {
        path:'/vip',
        name: 'VIP特权',
        component: vip
    }

]
export default routes;
